#pragma once
#include "ui_SelfCheckWarnDialog.h"
#include <QtWidgets/QDialog>
#include "utils/util.h"
class SelfCheckWarnDlg : public QDialog
{
	Q_OBJECT
public:
	SelfCheckWarnDlg(QWidget *parent = Q_NULLPTR);

	void tubeErr();
	void cameraErr();
	void beltErr();
	void discardErr();
	void ioErr();

	void tubeConnecting();
	void cameraConnecting();
	void beltConnecting();
	void discardConnecting();
	void ioConnecting();

	void tubeSuc();
	void cameraSuc();
	void beltSuc();
	void discardSuc();
	void ioSuc();

private:
	void init();
	
	private slots:
	void onSureBtn();
private:
	Ui::SelfCheckWarnDlg ui;
};
